package com.tzxs.pay.main.bill.model;

public class CollectionBillBean {
    /**
     * trade_no : 4200000070201804213296135120
     * out_trade_no : f2018042118090736581
     * total_amount : +0.01
     * status : WAIT
     * pay_status : 3
     * merchant_id : 12
     * type : 905
     * fina_type : in微信
     * pay_type :
     * created_at : {"date":"2018-04-23 09:12:16"}
     */

    private String out_trade_no;
    private String total_amount;
    private String status;
    private int pay_status;
    private int merchant_id;
    private int type;
    private String fina_type;
    private String pay_type;
    private String remark;
    private CreatedAtBean created_at;
    private String trade_no;

    private String pay_status_txt;


    public String getPay_status_txt() {
        return pay_status_txt;
    }

    public void setPay_status_txt(String pay_status_txt) {
        this.pay_status_txt = pay_status_txt;
    }

    @Override
    public String toString() {

        return "trade_no:" + getTrade_no() + "\nout_trade_no:" + getOut_trade_no();
    }

    public String getTrade_no() {
        return trade_no;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getPay_status() {
        return pay_status;
    }

    public void setPay_status(int pay_status) {
        this.pay_status = pay_status;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(int merchant_id) {
        this.merchant_id = merchant_id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFina_type() {
        return fina_type;
    }

    public void setFina_type(String fina_type) {
        this.fina_type = fina_type;
    }

    public String getPay_type() {
        return pay_type;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public CreatedAtBean getCreated_at() {
        return created_at;
    }

    public void setCreated_at(CreatedAtBean created_at) {
        this.created_at = created_at;
    }

    @Override
    public boolean equals(Object obj) {
        return obj instanceof CollectionBillBean && ((CollectionBillBean) obj).getTrade_no() != null && ((CollectionBillBean) obj).getTrade_no().equals(this.getTrade_no());
    }

    public static class CreatedAtBean {
        /**
         * date : 2018-04-23 09:12:16
         */

        private String date;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }
    }
}
